package com.kh.samr.entity.expert;

import com.kh.samr.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 所在企事业单位信息
 *
 * @author Harry
 * @date 2020/12/28
 */
@ApiModel(description = "所在企事业单位信息")
@Table(name = "ep_organized_by")
@EqualsAndHashCode(callSuper = true)
@Entity(name = "ep_organized_by")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrganizedBy extends BaseEntity {
	
	private static final long serialVersionUID = -8772658510314164805L;
	
	/**
	 * 企业信息标准唯一标识
	 */
	@ApiModelProperty(value = "企业信息标准唯一标识", readOnly = true)
	@Column(length = 36)
	private String organizedStandardId;
	
	/**
	 * 统一社会信用代码
	 */
	@ApiModelProperty(value = "统一社会信用代码", readOnly = true)
	@Column(length = 20)
	private String uniformSocialCreditCode;
	
	/**
	 * 单位全名
	 */
	@ApiModelProperty(value = "单位全名", readOnly = true)
	@Column(length = 100)
	private String companyFullName;
	
	/**
	 * 所在部门
	 */
	@ApiModelProperty(value = "所在部门", readOnly = true)
	@Column(length = 30)
	private String department;
	
	/**
	 * 单位性质
	 */
	@ApiModelProperty(value = "单位性质", readOnly = true)
	@Column(length = 100)
	private String unitOfNature;
	
	/**
	 * 职务
	 */
	@ApiModelProperty(value = "职务", readOnly = true)
	@Column(length = 100)
	private String jobTitle;
	
	/**
	 * 联系电话
	 */
	@ApiModelProperty(value = "联系电话", readOnly = true)
	@Column(length = 20)
	private String jobTelephone;
	
	/**
	 * 联系传真
	 */
	@ApiModelProperty(value = "联系传真", readOnly = true)
	@Column(length = 20)
	private String jobFax;
}
